package com.adkfp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.adkfp.bean.ADKDoorBean;

public interface ADKDoorDaoMapper {
	public void insert(ADKDoorBean bean);//插入一条记录
	public void delete(@Param("id")Integer id);//删除一条记录
	public void update(ADKDoorBean bean);//更新一条记录
	public ADKDoorBean findById(@Param("id")Integer id);//根据id查询一条记录
	public List<ADKDoorBean> findByCondition(ADKDoorBean bean);//根据bean里面的条件(非空)查询所有记录
	public long findByConditionCount(ADKDoorBean bean);//根据bean里面的条件(非空)查询所有记录条数
}
